<div class="commodity">
    <div class="commodity-img" onclick="href_goods_detail('{code}')">
        <img style="width: 3rem; height: 3rem;" src="{pic}">
    </div>
    <div class="commodity-right">
        <div class="commodity-name" onclick="href_goods_detail('{code}')">{name}-{code}</div>
        <div class="commodity-label">
            <div class="commodity-integral">
                <div><img style="height: 1.1rem;"></div>
                <div class="commodity-integral-words">
                    {price}
                </div>
            </div>
            <div class="commodity-car" onclick="addShoppingCart('{code}','{type}')">
                <div><img style="height: 1.1rem;"></div>
                <div class="commodity-car-words">{action}</div>
            </div>
        </div>
    </div>
</div>